cmake_minimum_required(VERSION 3.17)
project(Dataredis)

set(CMAKE_CXX_STANDARD 14)
add_compile_options(-g)
add_compile_options(-DBOOST_ALL_DYN_LINK)

add_executable(Dataredis main.cpp
        utils/RedisUtil.cpp
        utils/RedisUtil.h
        missocket/Tcptomis.cpp
        missocket/Tcptomis.h
        )

target_link_libraries(Dataredis ndn-cxx boost_system boost_log_setup boost_log jsoncpp hiredis pthread)